<template>
  <a-modal :maskClosable="false"
    :title='title'
    :width='800'
    :visible='visible'
    :confirmLoading='confirmLoading'
    @ok='handleOk'
    @cancel='handleCancel'
    cancelText='关闭'>

    <a-spin :spinning='confirmLoading'>

    </a-spin>
  </a-modal>
</template>

<script>
import { httpAction, putAction, getAction, postAction } from '@/api/manage'
import { queryall } from '@api/api'

export default {
  name: 'hHisNurseServiceCategoryModal',
  data() {
    return {
      title: '操作',
      visible: false,
      disabled: true,

      layout: {
        labelCol: { span: 4 },
        wrapperCol: { span: 14 }
      },
      confirmLoading: false,

      url: {
        get: '/his/account/role/get',
        add: '/his/account/role',
        edit: '/his/common/category'
      },
      rolesOptions: []
    }
  },
  created() {
    this.modelDefault = JSON.parse(JSON.stringify(this.model))
    this.initRoleList()
  },
  methods: {

    edit(record) {

    },
    close() {
      this.$emit('close')
      this.visible = false
    },
    handleOk() {
      this.close()
    },
    handleCancel() {
      this.close()
    }


  }
}
</script>

<style scoped>

</style>